mount /proc/xen in init.d/xen
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 9 Sep 2009 14:32:30 +0000 (15:32 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 9 Sep 2009 14:32:30 +0000 (15:32 +0100)
commit7c211e235058eec635104721cc01b6f89b1c4d70
tree089bc7a3eb6247bbc63bac853f5bcdfc31a2f464
parenta0eb214b31ae2b7d2c99c928e888c6586b24a058
mount /proc/xen in init.d/xen

pvops dom0 kernels have a separate xenfs which has to be mounted on
/proc/xen.  Systems with older configurations don't have xenfs listed
in fstab, and it can sometimes make sense to keep it that way (for
example, if the dom0 wants to boot a native-only kernel too).

The attached patch to the script which ends up in /etc/init.t/xend
mounts /proc/xen if it appears to be necessary.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/hotplug/Linux/init.d/xend